﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text;
using HotelSoftBusLib;

namespace HzsClientService.Common
{
    public class AppGlobal
    {
        public static readonly string CommonLogPath = ConfigurationManager.AppSettings["LogPath"].ToString();
        public static readonly string gLocalIp = ConfigurationManager.AppSettings["LocalIP"].ToString();
        public static readonly int gLocalPort = int.Parse(ConfigurationManager.AppSettings["LocalPort"].ToString());
        public static readonly string UserName = ConfigurationManager.AppSettings["UserName"].ToString();
        public static readonly string PassWord = ConfigurationManager.AppSettings["PassWord"].ToString();
        public static readonly int CardType = int.Parse(ConfigurationManager.AppSettings["CardType"].ToString());
        static Log log = new Log(CommonLogPath + System.DateTime.Now.ToString("yyyyMMdd") + ".log");

    }
}
